package Creational_design_pattern.Prototype_Pattern.Shallow_Clone_2;

public class Client {
    public static void main(String[] args) {
        Citation citation,copycitation;
        citation = new Citation();
        copycitation = (Citation)citation.clone();
        citation.setName("张三");
        copycitation.setName("李四");
        citation.show();
        copycitation.show();
    }
}
